<?php
class SecurityMonitor implements Observer{
	function update( $observable){
		$status = $observable->getStatus();
		//var_dump($status);
		if($status[0] == Login::LOGIN_WRONG_PASS){
			//发送邮件给系统管理员
			print __CLASS__.":\t sending mail to sysadmin\n<BR/>";
		}
	}
}